package com.culture.config.service;

import java.util.List;

import com.culture.config.model.po.*;
import com.culture.config.model.vo.*;
import com.github.pagehelper.Page;

public interface PropertyService {
    ApplicaionVO addApplicaion(ApplicationAddPO applicationAddPO);
	ApplicaionVO updateApplicaion(ApplicationUpdatePO applicationUpdatePO);
	Page<ApplicaionVO> pageApplicaions(ApplicationPageParam param);
	List<ApplicaionVO> listApplicaions(ApplicationListParam param);
	
	Page<PropertyVO> pageByApp(PropertyPageParam param);
	List<PropertyVO> getByApp(PropertiesParam param);	
	String getYamlByApp(PropertiesParam param);	
	void updateProperties(PropertiesUpdateParam param);
	void update(PropertyUpdateParam property);	
	void add(PropertyAddParam property);

	ApplicaionVO copyApp(ApplicationCopyPO copyPO);
	void syncProperty(PropertySyncPO syncPO);
}
